INCLUDEPATH += $$MOC_DIR \
    $$UI_DIR \
    $$RCC_DIR

CONFIG(debug, debug|release){
    CONFIG_NAME = debug
    DEFINES += DEBUG
    DEFINES += DEBUG_REQUESTS
}else{
    CONFIG_NAME = release
    DEFINES += RELEASE
    QMAKE_CXXFLAGS += -Werror
}
TMP_DIR = ./tmp
MOC_DIR += $$TMP_DIR/$$CONFIG_NAME/moc
OBJECTS_DIR += $$TMP_DIR/$$CONFIG_NAME/obj/$$QMAKE_HOST.arch
UI_DIR += $$TMP_DIR/$$CONFIG_NAME/uic
RCC_DIR += $$TMP_DIR/$$CONFIG_NAME/rcc
QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden #-std=c++0x
QMAKE_LFLAGS += -pie -rdynamic

# share ui setup
CONFIG += shareuiinterface-maemo-meegotouch mdatauri
PKGCONFIG += gq-gconf

CONFIG += mobility
MOBILITY += systeminfo
